Optimal. Leaf size=51 \[ -\frac {b B-A c}{2 b c \left (b+c x^2\right )}+\frac {A \log (x)}{b^2}-\frac {A \log \left (b+c x^2\right )}{2 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1598, 457, 78}
\begin {gather*} -\frac {A \log \left (b+c x^2\right )}{2 b^2}+\frac {A \log (x)}{b^2}-\frac {b B-A c}{2 b c \left (b+c x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 457
Rule 1598
Rubi steps
\begin {align*} \int \frac {x^3 \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx &=\int \frac {A+B x^2}{x \left (b+c x^2\right )^2} \, dx\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {A+B x}{x (b+c x)^2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {A}{b^2 x}+\frac {b B-A c}{b (b+c x)^2}-\frac {A c}{b^2 (b+c x)}\right ) \, dx,x,x^2\right )\\ &=-\frac {b B-A c}{2 b c \left (b+c x^2\right )}+\frac {A \log (x)}{b^2}-\frac {A \log \left (b+c x^2\right )}{2 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 46, normalized size = 0.90 \begin {gather*} \frac {\frac {b (-b B+A c)}{c \left (b+c x^2\right )}+2 A \log (x)-A \log \left (b+c x^2\right )}{2 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.37, size = 48, normalized size = 0.94
method | result | size |
default | \(-\frac {A \ln \left (c \,x^{2}+b \right )-\frac {b \left (A c -B b \right )}{c \left (c \,x^{2}+b \right )}}{2 b^{2}}+\frac {A \ln \left (x \right )}{b^{2}}\) | \(48\) |
norman | \(-\frac {\left (A c -B b \right ) x^{2}}{2 b^{2} \left (c \,x^{2}+b \right )}+\frac {A \ln \left (x \right )}{b^{2}}-\frac {A \ln \left (c \,x^{2}+b \right )}{2 b^{2}}\) | \(48\) |
risch | \(\frac {A}{2 b \left (c \,x^{2}+b \right )}-\frac {B}{2 c \left (c \,x^{2}+b \right )}+\frac {A \ln \left (x \right )}{b^{2}}-\frac {A \ln \left (c \,x^{2}+b \right )}{2 b^{2}}\) | \(53\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 51, normalized size = 1.00 \begin {gather*} -\frac {B b - A c}{2 \, {\left (b c^{2} x^{2} + b^{2} c\right )}} - \frac {A \log \left (c x^{2} + b\right )}{2 \, b^{2}} + \frac {A \log \left (x^{2}\right )}{2 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.48, size = 70, normalized size = 1.37 \begin {gather*} -\frac {B b^{2} - A b c + {\left (A c^{2} x^{2} + A b c\right )} \log \left (c x^{2} + b\right ) - 2 \, {\left (A c^{2} x^{2} + A b c\right )} \log \left (x\right )}{2 \, {\left (b^{2} c^{2} x^{2} + b^{3} c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.21, size = 46, normalized size = 0.90 \begin {gather*} \frac {A \log {\left (x \right )}}{b^{2}} - \frac {A \log {\left (\frac {b}{c} + x^{2} \right )}}{2 b^{2}} + \frac {A c - B b}{2 b^{2} c + 2 b c^{2} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.20, size = 52, normalized size = 1.02 \begin {gather*} -\frac {A \log \left ({\left | c x^{2} + b \right |}\right )}{2 \, b^{2}} + \frac {A \log \left ({\left | x \right |}\right )}{b^{2}} - \frac {B b^{2} - A b c}{2 \, {\left (c x^{2} + b\right )} b^{2} c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 47, normalized size = 0.92 \begin {gather*} \frac {A\,\ln \left (x\right )}{b^2}-\frac {A\,\ln \left (c\,x^2+b\right )}{2\,b^2}+\frac {A\,c-B\,b}{2\,b\,c\,\left (c\,x^2+b\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________